package com.sise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zj
 */
@Data
@Accessors(chain = true)
public class ProductLike implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 喜欢商品的id
     */
    @TableId(value = "product_like_id", type = IdType.AUTO)
    private Integer productLikeId;

    /**
     * 商品id
     */
    @TableField("product_id")
    private Integer productId;

    /**
     * 微信用户唯一标识
     */
    @TableField("open_id")
    private String openId;
}
